import { ButtonType, IconType, SizeType } from "@/entity/enums/CommonType";

// 按钮信息
export default class ButtonInfo {
    type: ButtonType;

    size: SizeType;

    method: Function;

    name: string;

    icon: IconType;

    constructor(type: ButtonType, size: SizeType, method: Function, name: string, icon: IconType) {
        this.type = type;
        this.size = size;
        this.method = method;
        this.name = name;
        this.icon = icon;
    }
}
